// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import demoBlock from './components/demo-block.vue'
import JKVUI from '../packages/index'
// import {ContentTable} from '../packages/index' //按需引入
import '../packages/theme-default/lib/index.css'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// console.log(ContentTable)
Vue.component('demo-block', demoBlock)
// Vue.component(ContentTable.name, ContentTable) //按需引入
Vue.use(JKVUI)
Vue.use(ElementUI)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
